<?php
    /*
     * This script checks whether an admin has been assigned
     * If so a valid $user variable will be available.
     */
    @include('user.inc');
    $user = null;
    $users = new Users($db);
    $admins = $users->getAdmins();
    if($admins)
        $user = $admins[0][0];
?>
